package com.yp.service;

import com.yp.pay.facade.StrategyFacade;
import com.yp.pay.pojo.PayBody;
import org.springframework.stereotype.Service;

@Service
public class PayService {
    public Boolean pay(PayBody payBody){
        //支付逻辑
        boolean flag;
        flag = StrategyFacade.pay(payBody);
        return flag;
    }
}
